<template>
  <q-card bordered class="no-shadow">
    <q-item>
      <q-item-section avatar>
        <q-avatar size="60px" class="shadow-10">
          <img :src="avatar" />
        </q-avatar>
      </q-item-section>

      <q-item-section>
        <q-item-label class="text-grey-8 text-weight-bold">{{
          name
        }}</q-item-label>
        <q-item-label caption>
          {{ des }}
        </q-item-label>
        <q-item-label class="text-grey-8">
          {{ email }}
        </q-item-label>
      </q-item-section>

      <q-item-section side>
        <q-item-label>
          <q-btn
            size="sm"
            flat
            round
            icon="fab fa-facebook"
            class="bg-indigo-7 text-white"
          />
        </q-item-label>
        <q-item-label>
          <q-btn
            size="sm"
            flat
            round
            icon="fab fa-twitter"
            class="bg-info text-white"
          />
        </q-item-label>
      </q-item-section>
    </q-item>

    <q-separator></q-separator>
    <q-card-section>
      <div class="q-pa-sm text-grey-8">死有余辜, 活有余罪</div>
    </q-card-section>
  </q-card>
</template>

<script setup lang="ts">
interface Props {
  avatar: string;
  name: string;
  des: string;
  email: string;
}
withDefaults(defineProps<Props>(), {});
</script>

<style scoped></style>
